package com.hkw.config;
import org.apache.catalina.LifecycleException;
import org.apache.catalina.startup.Tomcat;
import javax.servlet.ServletException;
public class SpringApplication {
    private static Tomcat tomcat;
    public static void run(){
        try {
            TomcatStart.run();
        } catch (ServletException e) {
            e.printStackTrace();
        } catch (LifecycleException e) {
            e.printStackTrace();
        }
    }

}
